<p>当前大类：{{ bigname }}</p>
<table id="t1" class="table table-hover">
    <tr>
        <td>序号</td>
        <td>小类名称</td>
        <td>单价</td>
        <td>个数</td>
        <td>总价</td>
        <td>操作</td>
    </tr>
    {% for i in data %}
        <tr class="{{ loop.index }}">
            <td>{{ loop.index }}</td>
            <td>{{ i[0] }}</td>
            <td>{{ i[1] }}</td>
            <td>{{ i[2] }}</td>
            <td>{{ i[3] }}</td>
            <td style="padding: 2px;width: 230px;">
                <button type="button" class="photo_button btn btn-outline-primary" photo="{{ i[4] }}" style="margin-right: 1px">查看照片</button><button type="button" class="smallname_button btn btn-outline-success" id="{{ loop.index }}">快速填入</button>
            </td>
        </tr>
    {% endfor %}
</table>